package cn.j0n4than.accountingtool.pojo.request;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 添加支出信息请求体
 *
 * @author jonathan
 */
public class UserSpendingAddRequest {

    @NotNull(message = "类型不能为空")
    public Integer typeId;

    @NotNull(message = "金额不能为空")
    public BigDecimal amount;

    public String note;
}
